package org.tdcg.entity;

import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * @Title: User
 * @Package: org.tdcg.entity
 * @Description: 测试实体类
 * @Author: 二东 <zwd_1222@126.com>
 * @date: 2016/10/25
 * @Version: V1.0
 */
public class User implements Serializable {

    private static final long serialVersionUID = -2363456220862690808L;
    private String id;
    private String username;
    private Integer age;

    public User(String id, String username, Integer age) {
        this.id = id;
        this.username = username;
        this.age = age;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
